.class public Lcom/waiqin365/base/login/mainview/TitleBar;
.super Landroid/widget/RelativeLayout;


# instance fields
.field public a:Landroid/widget/ImageButton;

.field public b:Landroid/widget/ImageButton;

.field public c:Landroid/widget/ImageButton;

.field public d:Landroid/widget/Button;

.field public e:Landroid/widget/TextView;

.field public f:Landroid/widget/ImageView;

.field public g:Landroid/view/View;

.field public h:Landroid/view/View;

.field public i:Landroid/view/View;

.field public j:Landroid/view/View;

.field public k:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const-string/jumbo v0, "layout_inflater"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f030016

    invoke-virtual {v0, v1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    const v0, 0x7f0c008a

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    const v0, 0x7f0c0090

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->b:Landroid/widget/ImageButton;

    const v0, 0x7f0c008f

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->c:Landroid/widget/ImageButton;

    const v0, 0x7f0c008b

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v0, 0x7f0c008c

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->f:Landroid/widget/ImageView;

    const v0, 0x7f0c0093

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const v0, 0x7f0c0089

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    const v0, 0x7f0c0091

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    const v0, 0x7f0c008e

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    const v0, 0x7f0c008d

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->j:Landroid/view/View;

    const v0, 0x7f0c0092

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->k:Landroid/widget/ImageView;

    return-void
.end method


# virtual methods
.method public setBottomLineShow(Z)V
    .locals 2

    const v0, 0x7f0c0094

    if-eqz p1, :cond_0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method

.method public setRightBg(I)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setBackgroundResource(I)V

    return-void
.end method

.method public setTitleBackground(Ljava/lang/String;)V
    .locals 2

    const v0, 0x7f0c0088

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/mainview/TitleBar;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-static {p1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    return-void
.end method

.method public setTitleText(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
